.class public abstract Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;
.super Landroidx/fragment/app/Fragment;
.source "BaseAutoBackupFragment.java"


# instance fields
.field protected a:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Landroidx/fragment/app/Fragment;-><init>()V

    const-string v0, ""

    .line 2
    iput-object v0, p0, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->a:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->j()V

    return-void
.end method

.method private a(Ljava/util/List;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 7
    new-instance v0, Les/ow;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    invoke-direct {v0, v1, p1}, Les/ow;-><init>(Landroid/content/Context;Ljava/util/List;)V

    .line 8
    new-instance p1, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment$a;

    invoke-direct {p1, p0}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment$a;-><init>(Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;)V

    invoke-virtual {v0, p1}, Les/ow;->a(Les/ow$d;)V

    .line 9
    invoke-virtual {v0}, Les/ow;->b()V

    return-void
.end method

.method private b(Ljava/lang/String;)V
    .locals 2

    .line 1
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    :try_start_0
    const-string v1, "action"

    .line 2
    invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 3
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string v1, "abakAD"

    invoke-virtual {p1, v1, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method private j()V
    .locals 3

    .line 1
    invoke-static {}, Les/u30;->e()Les/u30;

    move-result-object v0

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    const/4 v2, 0x3

    invoke-virtual {v0, v1, v2}, Les/u30;->a(Landroid/app/Activity;I)V

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/autobackup/fragment/d;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/autobackup/fragment/d;-><init>(Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;)V

    invoke-static {v0}, Les/u30;->a(Les/u30$b;)V

    return-void
.end method


# virtual methods
.method public synthetic a(Landroid/content/DialogInterface;I)V
    .locals 0

    .line 5
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    const-string p1, "caclBclk"

    .line 6
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->b(Ljava/lang/String;)V

    return-void
.end method

.method protected abstract a(Landroid/view/View;)V
.end method

.method protected abstract a(Ljava/lang/String;)V
.end method

.method protected a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2

    .line 18
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    :try_start_0
    const-string v1, "from"

    .line 19
    invoke-virtual {v0, v1, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p2, "action"

    .line 20
    invoke-virtual {v0, p2, p3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p2, "page"

    .line 21
    invoke-virtual {v0, p2, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 22
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string p2, "abakMkey"

    invoke-virtual {p1, p2, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method public synthetic a(Ljava/util/List;Landroid/content/DialogInterface;I)V
    .locals 0

    .line 2
    invoke-interface {p2}, Landroid/content/DialogInterface;->dismiss()V

    .line 3
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->a(Ljava/util/List;)V

    const-string p1, "okBclk"

    .line 4
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->b(Ljava/lang/String;)V

    return-void
.end method

.method public synthetic a(ZLjava/lang/String;)V
    .locals 4

    if-eqz p1, :cond_2

    .line 10
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object p1

    invoke-static {p1}, Les/g40;->d(Landroid/content/Context;)Ljava/util/List;

    move-result-object p1

    const/4 v0, 0x0

    .line 11
    :goto_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_1

    .line 12
    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/fs/g;

    .line 13
    invoke-interface {v1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2, p2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 14
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v2

    invoke-interface {v1}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/estrongs/android/pop/l;->M(Ljava/lang/String;)V

    .line 15
    invoke-interface {v1}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->a(Ljava/lang/String;)V

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 16
    :cond_1
    invoke-virtual {p0}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->b()V

    const p1, 0x7f110ab0

    .line 17
    invoke-static {p1}, Lcom/estrongs/android/ui/view/d;->a(I)V

    :cond_2
    return-void
.end method

.method protected abstract b()V
.end method

.method protected abstract d()I
    .annotation build Landroidx/annotation/LayoutRes;
    .end annotation
.end method

.method protected abstract f()I
    .annotation build Landroidx/annotation/StringRes;
    .end annotation
.end method

.method public g()V
    .locals 4

    .line 1
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Les/g40;->d(Landroid/content/Context;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 2
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-nez v1, :cond_0

    goto :goto_0

    .line 3
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/pop/l;->r()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 4
    invoke-direct {p0, v0}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->a(Ljava/util/List;)V

    goto :goto_1

    .line 5
    :cond_1
    new-instance v1, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v2

    invoke-direct {v1, v2}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v2, 0x7f11016d

    .line 6
    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/dialog/q$n;->a(I)Lcom/estrongs/android/ui/dialog/q$n;

    const v2, 0x7f11029e

    new-instance v3, Lcom/estrongs/android/ui/autobackup/fragment/c;

    invoke-direct {v3, p0, v0}, Lcom/estrongs/android/ui/autobackup/fragment/c;-><init>(Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;Ljava/util/List;)V

    .line 7
    invoke-virtual {v1, v2, v3}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const v0, 0x7f110299

    new-instance v2, Lcom/estrongs/android/ui/autobackup/fragment/b;

    invoke-direct {v2, p0}, Lcom/estrongs/android/ui/autobackup/fragment/b;-><init>(Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;)V

    .line 8
    invoke-virtual {v1, v0, v2}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 9
    invoke-virtual {v1}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    const-string v0, "show"

    .line 10
    invoke-direct {p0, v0}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->b(Ljava/lang/String;)V

    goto :goto_1

    .line 11
    :cond_2
    :goto_0
    invoke-direct {p0}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->j()V

    :goto_1
    return-void
.end method

.method protected abstract i()V
.end method

.method public onActivityCreated(Landroid/os/Bundle;)V
    .locals 1
    .param p1    # Landroid/os/Bundle;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    .line 1
    invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onActivityCreated(Landroid/os/Bundle;)V

    .line 2
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle;

    move-result-object p1

    if-eqz p1, :cond_0

    const-string v0, "from"

    .line 3
    invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->a:Ljava/lang/String;

    .line 4
    :cond_0
    invoke-virtual {p0}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->i()V

    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 0
    .param p1    # Landroid/os/Bundle;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    .line 1
    invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onCreate(Landroid/os/Bundle;)V

    return-void
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 1
    .param p1    # Landroid/view/LayoutInflater;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroid/view/ViewGroup;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param
    .param p3    # Landroid/os/Bundle;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param
    .annotation build Landroidx/annotation/Nullable;
    .end annotation

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->d()I

    move-result p3

    const/4 v0, 0x0

    invoke-virtual {p1, p3, p2, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    return-object p1
.end method

.method public onDestroy()V
    .locals 1

    .line 1
    invoke-super {p0}, Landroidx/fragment/app/Fragment;->onDestroy()V

    const/4 v0, 0x0

    .line 2
    invoke-static {v0}, Les/u30;->a(Les/u30$b;)V

    return-void
.end method

.method public onHiddenChanged(Z)V
    .locals 0

    .line 1
    invoke-super {p0, p1}, Landroidx/fragment/app/Fragment;->onHiddenChanged(Z)V

    return-void
.end method

.method public onResume()V
    .locals 2

    .line 1
    invoke-super {p0}, Landroidx/fragment/app/Fragment;->onResume()V

    .line 2
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->f()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/app/Activity;->setTitle(I)V

    :cond_0
    return-void
.end method

.method public onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V
    .locals 0
    .param p1    # Landroid/view/View;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroid/os/Bundle;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    .line 1
    invoke-super {p0, p1, p2}, Landroidx/fragment/app/Fragment;->onViewCreated(Landroid/view/View;Landroid/os/Bundle;)V

    .line 2
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/autobackup/fragment/BaseAutoBackupFragment;->a(Landroid/view/View;)V

    return-void
.end method
